package com.gyh.stlserver.mapper;

import com.gyh.stlserver.entity.Admin;
import com.gyh.stlserver.vo.AdminVo;

import java.util.List;

public interface AdminMapper {

    Admin selectAdminByPhone(String phone);

    List<Admin> select(Admin admin);

    int insert(Admin admin);

    int update(Admin admin);

    int deleteAdmin(Integer id);

    int deleteByIds(Integer[] ids);

    Admin selectAdminByPhoneAndPwd(AdminVo adminVo);
}
